package com.ruoyi.apiserver.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * AES配置类
 */
@Component
@ConfigurationProperties(prefix = "api.encrypt.aes")
public class AESConfig {
    
    /**
     * AES密钥
     */
    private String key;

    private String iv;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getIv() {
        return iv;
    }

    public void setIv(String iv) {
        this.iv = iv;
    }
}